<script setup lang="ts">
import defaultIcon from '@/assets/process-default-icon.png';

defineProps<{ icon?: string }>();
</script>

<template>
	<img class="process-icon" :src="icon ? baseURL + icon : defaultIcon" alt="流程图标" />
</template>

<style lang="scss" scoped>
.process-icon {
	width: 36px;
	height: 36px;
	border-radius: 5px;
	margin-right: 5px;
}
</style>
